package com.cdhospital.adminservice;

import com.cdhospital.Model.Graduatemessage;



public class GraduatemessageService {
	
	private static final Graduatemessage dao = new Graduatemessage().dao();
	
	public Graduatemessage findById(int id) {
		
		return dao.findById(id);
	}
	
	public Graduatemessage findbyStatus(int status){
		
    String sql="select * from graduatemessage where status=? ";
		
		return dao.findFirst(sql, status);
		
	}
	

}
